package top.yaofengqiao.springcloudsimple.payment.biz.trigger.http.app.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yfq
 * @date 2024/6/14 17:21
 * @description
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PaymentApplyDTO {
    // 订单号
    @NotNull(message = "订单号不能为空")
    private Long orderId;

    // 支付渠道
    @NotBlank(message = "支付渠道不能为空")
    private String payChannel;

    // 支付类型
    @NotBlank(message = "支付类型不能为空")
    private String payType;
}
